package net.gooduo.spring_boot_template.controller.common;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/health")
@Api(tags = "健康检查")
public class HealthController {
    @GetMapping("/check")
    @ApiOperation("健康检查")
    public String check() {
        return "ok";
    }
}
